/*
 * ViaDER.h
 *
 *  Created on: Aug 22, 2013
 *      Author: root
 */

#ifndef VIADER_H_
#define VIADER_H_

#include "model/der/ComponentDER.h"
#include "model/Via.h"

class ViaDER: public Via, public ComponentDER {

private:
	virtual void initializeConnectors();

public:
	ViaDER(unsigned exit = 0, const std::string & name = "rol", int orientation = 0);
	ViaDER(const ViaDER &);
	ViaDER& operator=(const ViaDER&);
	virtual ~ViaDER();

	virtual void serialize(XmlWriter & writer_rep, XmlWriter & writer_comp);
	virtual void deserialize(XmlReader & reader);
	virtual void deserialize(XmlReader & reader, XmlReader& readerModel);
    virtual void validate(std::fstream & filestr, bool &valido) {};
};

#endif /* VIADER_H_ */
